<%@page language="java" contentType="text/html;charset=UTF-8"%>
<%@page isELIgnored = "false" %>
<%@taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%
String session1 = (String)session.getAttribute("username");
String nullname = "请：登陆 ";
String nullname1 = "注册";
if(session1 != null){
      nullname = session1 ;
      nullname1 = "";
}
 %>
<html>
	<head>
		<meta charset="UTF-8">
		<title>宠物商店</title>
		<link rel="stylesheet" type="text/css" href="../css/jpetstore.css"/>
	</head>
	<body>
		<div id="Header">
			<div id="Logo">
				<a href="../common/Main.jsp">
					<img src="../images/logo-topbar.gif" />
				</a>
			</div>
			<div id="Menu">
				<a href="../shop/viewCart.shtml">
					<img align="middle" name="img_cart" src="../images/cart.gif" />
				</a>
				<img align="middle" src="../images/separator.gif">
				<a href="../common/Login.jsp "><%=nullname %></a>
				<a href="../common/registered.jsp"><%=nullname1 %></a>
				<img align="middle" src="../images/separator.gif" />
				<a href="../common/zhanghu.jsp">我的账户</a>
				<img align="middle" src="../images/separator.gif" />
				<a href="../common/help.jsp">帮助</a>
			</div>
			<div id="Search">
				<form method="get" action=" ../shop/searchProducts.shtml ">
				<input type="text" name="KeyWord " size="14">&nbsp;
				<a href="../commin/chazhao.jsp"><input type="submit" value="查找 " /></a>
				</form>
			</div>
			<div id="QuickLinks">
					<A href="../common/Category.jsp?catid=FISH">
						<img src="../images/sm_fish.gif" />
					</a>
					<img src="../images/separator.gif" />
					<A href="../common/Category.jsp?catid=DOGS">
						<img src="../images/sm_dogs.gif" />
					</a>
					<img src="../images/separator.gif" />
					<A href="../common/Category.jsp?catid=CATS">
						<img src="../images/sm_reptiles.gif" />
					</a>
					<img src="../images/separator.gif" />
					<A href="../common/Category.jsp?catid=REPTILES">
						<img src="../images/sm_cats.gif" />
					</a>
					<img src="../images/separator.gif" />
					<A href="../common/Category.jsp?catid=BIRDS">
						<img src="../images/sm_birds.gif" />
					</a>
			</div>
		</div>
		<div id="Content"></div>
	</body>

</html>